<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Currentturn
 */
class Currentturn
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var smallint $turnnumber
     */
    private $turnnumber;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set turnnumber
     *
     * @param smallint $turnnumber
     * @return Currentturn
     */
    public function setTurnnumber($turnnumber)
    {
        $this->turnnumber = $turnnumber;
        return $this;
    }

    /**
     * Get turnnumber
     *
     * @return smallint 
     */
    public function getTurnnumber()
    {
        return $this->turnnumber;
    }
}